wpforo\classes\Moderation D

Total Complexity 148
Dependencies 2
Dependents 1
Total lines 476
Lines of code 412
Logical lines of code 308
Comment lines 6
Methods 23
Properties 2

Methods 23

Method Rating Maintainability Complexity Lines of code
spam_post()
B
46 17 35
auto_moderate()
B
47 17 33
spam_topic()
A
45 16 37
spam_file()
A
41 14 54
remove_links()
A
46 13 37
has_link()
A
48 13 30
init()
A
48 8 34
spam_attachment()
S
54 7 18
akismet_topic()
S
50 6 26
akismet_post()
S
51 5 23
get_moderations()
S
65 5 7
has_approved()
S
59 4 14
has_unapproved()
S
59 4 14
ban_for_spam()
S
68 4 7
search()
S
66 3 9
set_all_unapproved()
S
69 2 6
__construct()
S
68 2 6
get_post_status_dname()
S
75 2 4
init_list_table()
S
70 2 6
get_view_url()
S
80 1 3
post_unapprove()
S
79 1 3
post_approve()
S
79 1 3
get_distinct_userids()
S
78 1 3